package cn.zyjblogs.sms.exception;

import cn.zyjblogs.starter.common.entity.response.HttpCode;
import cn.zyjblogs.starter.common.exception.AbstractBusinessException;

/**
 * @author zhuyijun
 */
public class SmsRuntimeException extends AbstractBusinessException {

    private String code;
    private String requestId;

    public String getCode() {
        return code;
    }

    public String getRequestId() {
        return requestId;
    }

    public SmsRuntimeException() {
        super();
    }

    public SmsRuntimeException(String message, String code, String requestId) {
        super(message);
        this.code = code;
        this.requestId = requestId;
    }

    public SmsRuntimeException(String message) {
        super(message);
    }

    public SmsRuntimeException(HttpCode responseCode, String message) {
        super(responseCode, message);
    }

    public SmsRuntimeException(String message, Object... params) {
        super(message, params);
    }

    public SmsRuntimeException(HttpCode responseCode, String message, Object... params) {
        super(responseCode, message, params);
    }
}
